<template>
  <div>
    count:{{count}}
  </div>
  <button @click="jump">返回首页</button>
</template>
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  name: "About",
  computed:{
    count(){
      return this.$store.state.count
    }
  },
  methods:{
    jump(){
      this.$router.push('/')
    }
  }
})
</script>
<style>

</style>